package priv.yiyuan.example.composite.ticket;

/**
 * 责任链模式 - 处理者接口
 *
 * @author YiYuan
 * @data 2025/8/29
 * @apoNote
 */
public interface TicketHandler {

    void setNextHandler(TicketHandler nextHandler);

    boolean handleTicket(TicketComponent ticket);
}
